<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="../../attr.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@page import="com.lrkj.back.vo.constant.PathInfo"%>
<c:set var="qxxdId" value="<%=PathInfo.qxxdId%>" />
<c:set var="menuXy" value="${menuList}[${qxxdId}]" />

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="${ctx}/css/sapar.css" />
<link rel="stylesheet" href="${ctx}/css/index_inner.css" />

<script type="text/javascript">
	window.onload = function(){
		
	}

</script>

<title>用户</title>
</head>

<body>
<div id="container">
    <div id="bd">
    	<div class="wrap clearfix">
        	<div class="sidebar">
            	<h2 class="sidebar-header"><p>功能导航</p></h2>
                <ul class="nav">
                	<li class="office current"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiInput.do" class="clearfix"><span>待清洗</span><i class="icon"></i></a></div></li>
                	<%--<li class="office"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiActionList.do" class="clearfix"><span>。。。</span><i class="icon"></i></a></div></li>--%>
                	<li class="office"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiMachiesList.do" class="clearfix"><span>清洗消毒</span><i class="icon"></i></a></div></li>
					<li class="office"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiList.do" class="clearfix"><span>清洗清单</span><i class="icon"></i></a></div></li>
					<li class="office"><div class="nav-header"><a href="javascript:;" data-src="${ctx}/qingxi/qingxiBuhegeList.do" class="clearfix"><span>返洗清单</span><i class="icon"></i></a></div></li>

                </ul>
            </div>
            <div class="content" id="cc">
				<%--<iframe v-bind:src=menus[0].moduleUrl id="iframe" width="100%" height="100%" frameborder="0"></iframe>--%>
            	<iframe src="${ctx}/qingxi/qingxiInput.do" id="iframe" width="100%" height="100%" frameborder="0"></iframe>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="${ctx}/js/jquery.js"></script>
<%@ include file="../../js.jsp" %>
<script type="text/javascript" >
    var d = ${menuXy};
    function menuList(){
        for(var i = 0;i<d.length;i++){
            var str = "";
            var ifr = "";
            if(i==0){
                //ifr = "<iframe src='"+d[i].moduleUrl+"' id='iframe' width='100%' height='100%' frameborder='0'></iframe>";
                str +="<li class='gongwen current'><div class='nav-header'><a href='#' data-src='"+d[i].moduleUrl+"' class='clearfix'><span>"+d[i].moduleName+"</span><i class='icon'></i></a></div></li>";
            }else{
                str +="<li class='gongwen'><div class='nav-header'><a href='#' data-src='"+d[i].moduleUrl+"' class='clearfix'><span>"+d[i].moduleName+"</span><i class='icon'></i></a></div></li>";
            }
            $(".nav").append(str);
        }
    }
    //menuList();
    var app = new Vue({
        el: '#cc',
        data: {
            menus :${menuXy},
        },
        methods:{
        },
    });
</script>

</html>
